跳到主要内容

Github Actions 部署到静态网站上的问题解决

/usr/bin/git push origin gh-pages 
remote: Permission to leylatop/i18n-translate-flow.git denied to leylatop. fatal: unable to access 'https://github.com/leylatop/i18n-translate-flow.git/': The requested URL returned
error: 403 Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"
  • 这个原因是因为设置里面创建的开发者key的权限不够,需要去设置页面提升一下key的权限,参考这个回答